package com.ruoyi;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.ruoyi.project.monitor.job.controller.JobController;
import com.ruoyi.project.monitor.logininfor.controller.LogininforController;
import com.ruoyi.project.monitor.logininfor.domain.Logininfor;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class testResponse {

    @Autowired
    JobController jobController;
    @Autowired
    LogininforController logininforController;

    @Test
    public void testRe() {
        ObjectMapper mapper = new ObjectMapper();

        System.out.println(logininforController.list(new Logininfor()));
    }

}
